﻿using System;
using System.Collections.Generic;
using System.Text;

namespace HardwareLibrary.SoundLibrary
{
    public class WavHelper
    {
        /// <summary>
        /// 播放计量完毕语音
        /// </summary>
        public static void PlayWTOKSound()
        {
            WavLib wl = new WavLib();
            wl.PlaySound(AppDomain.CurrentDomain.BaseDirectory + @"Sounds\weightOK.wav");
        }
        /// <summary>
        /// 播放读卡成功
        /// </summary>
        public static void PlayReadCardOKSound()
        {
            WavLib wl = new WavLib();
            wl.PlaySound(AppDomain.CurrentDomain.BaseDirectory +@"Sounds\CardOK.wav");
        }
        /// <summary>
        /// 播放读卡错误信息
        /// </summary>
        public static void PlayReadCardErrSound()
        {
            WavLib wl = new WavLib();
            wl.PlaySound(AppDomain.CurrentDomain.BaseDirectory + @"Sounds\CardErr.wav");
        }
    }
}
